namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// ——配置龙门 - 入库对应龙门
    /// </summary>
    public DbSet<POWcsNetInGantry> WcsNetInGantrys { get; set; }
}

/// <summary>
/// ——配置龙门 - 入库对应龙门
/// 表[wcs_net_in_gantry]
/// </summary>
[Table("wcs_net_in_gantry")]
public class POWcsNetInGantry
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wcs_net_in_gantry.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 设备Id
    /// [wcs_net_in_gantry.start_loc)]
    /// </summary>
    [Column("start_loc")]
    public long? StartLoc { get; set; }
    /// <summary>
    /// 货位Id
    /// [wcs_net_in_gantry.target_loc)]
    /// </summary>
    [Column("target_loc")]
    public long? TargetLoc { get; set; }
    /// <summary>
    /// [wcs_net_in_gantry.cache_loc)]
    /// </summary>
    [Column("cache_loc")]
    public long? CacheLoc { get; set; }
    /// <summary>
    /// [wcs_net_in_gantry.gantry_id)]
    /// </summary>
    [Column("gantry_id")]
    public long? GantryId { get; set; }
    /// <summary>
    /// 关系分，分数越高约远
    /// [wcs_net_in_gantry.relate_score)]
    /// </summary>
    [Column("relate_score")]
    public int? RelateScore { get; set; }
    /// <summary>
    /// 创建时间
    /// [wcs_net_in_gantry.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wcs_net_in_gantry.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wcs_net_in_gantry.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
